import { defineFakeRoute } from "vite-plugin-fake-server/client";


export default defineFakeRoute([
  {
    url: "/carouselChart/web/advertisement/1",
    method: "get",
    response: () => {
      return {
        "code": 0,
        "msg": "ok",
        "data": [
          {
            "id": "ef24389a07d44fa58cc15fe12c2db34b",
            "advertisingName": "首页banner",
            "titleId": null,
            "position": 1,
            "advertisingLink": "",
            "pictureResources": "https://leiao-resource.oss-cn-beijing.aliyuncs.com/leiao.mp4",
            "informationSource": null,
            "informationCategory": null,
            "playbackDuration": null,
            "sort": 1,
            "state": 1,
            "carouselType": 1,
            "createUser": "1635237961568460801",
            "createTime": "2023-03-20 15:13:25",
            "mainTitle": null,
            "subTitle": null
          }
        ]
      };
    }
  },
  {
    url: "/solve",
    method: "get",
    response: () => {
      return {
        "code": 0,
        "msg": "ok",
        "data": [
          {
            icon: 'https://www.labautobio.com/_next/static/media/solution1.a4a01902.png',
            title: '工具持续升级',
            subTitle: '移液运动控制更稳定试剂耗材成本更低'
          },
          {
            icon: 'https://www.labautobio.com/_next/static/media/solution2.137eed0d.png',
            title: '软件硬件全面智能化',
            subTitle: '智慧软件架构'
          },
          {
            icon: 'https://www.labautobio.com//_next/static/media/solution3.209b504f.png',
            title: '干湿实验结合',
            subTitle: '标准化数据采集高通量快速验证迭代'
          }
        ]
      };
    }
  }
]);
